package com.data4.feignapi.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author Forever
 * @since 2024-12-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class DOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    private Integer orderId;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 产品ID
     */
    private Integer productId;

    /**
     * 商品数量
     */
    private Integer productNum;


    /**
     * 下单时间
     */
    private LocalDateTime orderTime;

    /**
     * 邮编
     */
    private String postcode;

    /**
     * 总金额（分）
     */
    private Integer totalMoney;
}
